request.interceptors.request.use(
    (config) => {
        // 增加 
        config.headers["Content-Type"] = "application/x-www-form-urlencoded"

        // 试图在请求头增加token
        if (config.headers["Authorization"] === undefined || config.headers["Authorization"].length <= 0) {
            let login = localStorage.getItem("login")
            if (login) {
                console.log("set.." + JSON.parse(login))
                config.headers["Authorization"] = JSON.parse(login).data
            }
        }

        return config;
    },
    (error) => {
        return Promise.reject(error);
    }
);